//package interbase;
//
//import java.io.IOException;
//import java.io.Reader;
//import java.util.List;
//import java.util.Map;
//
//import org.apache.ibatis.io.Resources;
//import org.apache.ibatis.session.SqlSession;
//import org.apache.ibatis.session.SqlSessionFactory;
//import org.apache.ibatis.session.SqlSessionFactoryBuilder;
//import org.junit.Test;
//
//import io.renren.entity.SysUserEntity;
//
//public class interbaseConnMyBatis {
//
//	@Test
//    public void testSelect() throws IOException {
//        Reader reader=Resources.getResourceAsReader("configuration.xml");
//        SqlSessionFactory factory=new SqlSessionFactoryBuilder().build(reader);
//        SqlSession session=factory.openSession();
//        
//        SysUserEntity student=session.selectOne("io.renren.dao.SysUserDao.queryByUserName","admin");
//        System.out.println(student);
//        session.commit();
//        session.close();
//    }
//}
